package com.gtenacg.cartoonservice.common.annotation;

import com.gtenacg.cartoonservice.util.JwtUtil;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
public @interface CheckToken {
    // token subject
    String subjectKey() default JwtUtil.Default_Subject_Key;

}
